﻿using LPLS.DBEntities.ConfigModels.AlarmModels.AlarmVarableCodeRuleConfigModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LPLS.DBInterface.ConfigModels.AlarmModel.AlarmVarableCodeRuleConfigModels
{
    public  interface IAlarmVarableCodeRuleConfigService 
    {
        /// <summary>
        /// 获取报警变量代码规则配置数据
        /// </summary>
        /// <returns></returns>
        List<AlarmVarableCodeRuleConfig> GetData();

        /// <summary>
        /// 保存报警变量代码规则配置数据
        /// </summary>
        /// <param name="alarmVarableCodeRuleConfigs"></param>
        /// <returns></returns>
        int SaveData(List<AlarmVarableCodeRuleConfig> alarmVarableCodeRuleConfigs);

    }
}
